package com.woniu.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.woniu.entity.Auction;
import com.woniu.vo.QueryVo;

import tk.mybatis.mapper.common.Mapper;

public interface AuctionMapper extends Mapper<Auction> {

	int findCount(@Param("goodstatus")String goodstatus);

	List<QueryVo> selectAuction(@Param("goodstatus")String goodstatus);

	QueryVo findAuctionById(Integer aid);

	void updateBuyerStatusById(@Param("aid")Integer aid,@Param("userstatus")String userstatus);

	QueryVo findBuyerInfoById(Integer aid);

	QueryVo findRecordById(Integer aid);
}